/*

 * Copyright (C) 2021 Huawei Device Co., Ltd.

 * Licensed under the Apache License, Version 2.0 (the "License");

 * you may not use this file except in compliance with the License.

 * You may obtain a copy of the License at

 *

 *     http://www.apache.org/licenses/LICENSE-2.0

 *

 * Unless required by applicable law or agreed to in writing, software

 * distributed under the License is distributed on an "AS IS" BASIS,

 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

 * See the License for the specific language governing permissions and

 * limitations under the License.

 */
package com.cjj;

import ohos.hiviewdfx.HiLog;
import ohos.hiviewdfx.HiLogLabel;

/**
 * 常量类
 *
 * @author hw
 * @since 2021/6/29
 */
public class Contants {
    public static final HiLogLabel LABEL = new HiLogLabel(HiLog.LOG_APP, 0x00201, "MY_TAG");
    private int defaulWaveHeight;
    private int defaulHeadHeight;

    private static Contants contants;

    /**
     * getInstance
     *
     * @return Contants
     */
    public static Contants getInstance() {
        if (contants == null) {
            contants = new Contants();
        }
        return contants;
    }

    /**
     * getDefaulWaveHeight
     *
     * @return defaulWaveHeight
     */
    public int getDefaulWaveHeight() {
        return defaulWaveHeight;
    }

    /**
     * setDefaulWaveHeight
     *
     * @param defaulWaveHeight
     */
    public void setDefaulWaveHeight(int defaulWaveHeight) {
        this.defaulWaveHeight = defaulWaveHeight;
    }

    /**
     * getDefaulHeadHeight
     *
     * @return defaulHeadHeight
     */
    public int getDefaulHeadHeight() {
        return defaulHeadHeight;
    }

    /**
     * setDefaulHeadHeight
     *
     * @param defaulHeadHeight
     */
    public void setDefaulHeadHeight(int defaulHeadHeight) {
        this.defaulHeadHeight = defaulHeadHeight;
    }
}
